﻿// *----------------------------------------------------------------
// Copyright (C) 2017 通通优品
// 版权所有。
// 
// 类名：TestBaseModule.cs
// 功能描述：TongTongMall.MallWeb.Test
// 
// Create User：jym 2017/02/09
// 
// Edit User：UserName,EditTime
// Describe：Describe
// ----------------------------------------------------------------*/
using System.Reflection;
using TongTongMall.Common;
using TongTongMall.Domain;
using TongTongMall.MallWeb.Core.Authorization;
using TongTongMall.MallWeb.Core.Chip;
using TongTongMall.MallWeb.Core.Components;
using TongTongMall.MallWeb.Core.Tenant;
using TongTongMall.MallWeb.Core.User;
using TongTongMall.Modules;

namespace TongTongMall.Tests
{
    [DependsOn(typeof(KernelModule), typeof(CommonModule))]
    public class TestBaseModule : BaseModule
    {

        public override void Initialize()
        {
            IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
        }
    }


    public class DapperModelSet : ModelContainer
    {

        public IModelSet<Client> ClientModelSet { get; set; }

        public IModelSet<RefreshToken> RefreshTokenModelSet { get; set; }



        public IModelSet<MobileSMSRecord> MobileSMSRecordModelSet { get; set; }

     

        public IModelSet<DicCategory> DicCategoryModelSet { get; set; }


        public IModelSet<DicAddress> DicAddressModelSet { get; set; }


        public IModelSet<Images> ImagesModelSet { get; set; }

      

        public IModelSet<NetDataDictionary> NetDataDictionaryModelSet { get; set; }

       

        public IModelSet<TenantSysConfig> TenantSysConfigModelSet { get; set; }

       



     
    }
}
